#include "urlaction.h"
#include <KAction>
#include <kurl.h>
#include <kparts/browserextension.h>

UrlAction::UrlAction( const QString& text, QObject* parent, const KUrl& url, const KParts::OpenUrlArguments& arguments, const KParts::BrowserArguments& browserArguments ) : KAction( text, parent )
{
    murl = url;
    marguments = arguments;
    mbrowserArguments = browserArguments;
    connect( this, SIGNAL( triggered() ), this, SLOT( emitUrl() ) );
}

